package com.demo.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author shanzhenbo
 */
@ComponentScan(basePackages = {"com.demo.service","com.demo.web","com.demo.common"})
@MapperScan(basePackages = {"com.demo.dao.mapper"})
@SpringBootApplication
public class WebApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class, args);
    }

}
